/**     
 * @{#} HashPolicy.java Create on 2011-7-22 上午09:42:16     
 *     
 * Copyright (c) 2011 by xiaofeng.zhouxf     
 */
package com.sefer.memcached.constants;

/**
 * This class maintains all the policies for client hash arithmetic.
 * 
 * @author <a href="mailto:xiaofeng.zhouxf83@gmail.com">xiaofeng.zhouxf</a>
 * @version 1.0
 */
public enum HashPolicy {
	CONSISTENCY_HASH("consistency_hash"),

	MOD_HASH("mod_hash");

	String policy;

	public String getPolicy() {
		return policy;
	}

	private HashPolicy(String policy) {
		this.policy = policy;
	}

}
